package io.renren.modules.api.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import io.renren.modules.api.dao.PsPushRecordsDao;
import io.renren.modules.api.entity.PsPushRecordsEntity;
import io.renren.modules.api.service.PsPushRecordsService;



@Service("psPushRecordsService")
public class PsPushRecordsServiceImpl implements PsPushRecordsService {
	@Autowired
	private PsPushRecordsDao psPushRecordsDao;
	
	@Override
	public PsPushRecordsEntity queryObject(Long id){
		return psPushRecordsDao.queryObject(id);
	}
	
	@Override
	public List<PsPushRecordsEntity> queryList(Map<String, Object> map){
		return psPushRecordsDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return psPushRecordsDao.queryTotal(map);
	}
	
	@Override
	public void save(PsPushRecordsEntity psPushRecords){
		psPushRecordsDao.save(psPushRecords);
	}
	
	@Override
	public void update(PsPushRecordsEntity psPushRecords){
		psPushRecordsDao.update(psPushRecords);
	}
	
	@Override
	public void delete(Long id){
		psPushRecordsDao.delete(id);
	}
	
	@Override
	public void deleteBatch(Long[] ids){
		psPushRecordsDao.deleteBatch(ids);
	}
	
}
